﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibraryOfBooks
{
    class LibraryOfBooks
    {
        static void Main(string[] args)
        {
            Library library = new Library("Programming books");

            library.AddBook("Intro to programming with C#", "Svetlin Nakov",
                "Faber", "2011", "978-954-400-527-6");
            library.AddBook("Programming for .NET", "Svetlin Nakov",
                "Faber", "2005-2006", "954-775-672-9");
            library.AddBook("Internet programming with Java", "Svetlin Nakov",
                "Faber", "2004", "954-775-305-3");
            library.AddBook("Algorithms in C", "Robert Sedgewick",
                "Addison-Wesley", "1997", "978-0201314526");
            library.AddBook("Thinking in Java", "Bruce Eckel",
                " Prentice Hall", "2006", "978-0131872486");
            library.Display();
            library.DeleteByAuthor("Svetlin Nakov");
            library.Display();
        }
    }
}
